package com.wxapp.common.constant.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lgl
 * @Description
 * @Datetime 2023/7/13 14:56
 * @Modified By
 */
@Data
@Component
@ConfigurationProperties(prefix = "caffeine")
public class CaffeineProperties {
    //过期时间
    private Integer expire;
    //初始的缓存空间大小
    private Integer initial;
    // 缓存的最大条数
    private Integer maximum;
}
